package com.bds.btcdc.web.model;

/**
 * Created by DongChenchen on 2018/4/24 0024
 */

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

import java.math.BigDecimal;
import java.util.Date;

@Table("t_pair_converter")
public class TPairConverter {
    @Id
    private Long id;
    @Column
    private String pair_name;//币对
    @Column
    private String re_pair_name;//反向币对
    @Column
    private BigDecimal real_time_val;//实时汇率
    @Column
    private BigDecimal re_real_time_val;//反向实时汇率
    @Column
    private Date real_time;//最后一次实时修改时间
    @Column
    private BigDecimal update_val;//用户修改汇率
    @Column
    private BigDecimal re_update_val;//用户修改反向汇率
    @Column
    private Date update_time;//用户修改时间
    @Column
    private Boolean useUserVal;//是否使用用户修改的汇率
    @Column
    private Boolean lawerPair;//是法币对
    @Column
    private Integer state;//是否使用



    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPair_name() {
        return pair_name;
    }

    public void setPair_name(String pair_name) {
        this.pair_name = pair_name;
    }

    public BigDecimal getReal_time_val() {
        return real_time_val;
    }

    public void setReal_time_val(BigDecimal real_time_val) {
        this.real_time_val = real_time_val;
    }

    public Date getReal_time() {
        return real_time;
    }

    public void setReal_time(Date real_time) {
        this.real_time = real_time;
    }

    public BigDecimal getUpdate_val() {
        return update_val;
    }

    public void setUpdate_val(BigDecimal update_val) {
        this.update_val = update_val;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public Boolean getUseUserVal() {
        return useUserVal;
    }

    public void setUseUserVal(Boolean useUserVal) {
        this.useUserVal = useUserVal;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getRe_pair_name() {
        return re_pair_name;
    }

    public void setRe_pair_name(String re_pair_name) {
        this.re_pair_name = re_pair_name;
    }

    public BigDecimal getRe_real_time_val() {
        return re_real_time_val;
    }

    public void setRe_real_time_val(BigDecimal re_real_time_val) {
        this.re_real_time_val = re_real_time_val;
    }

    public BigDecimal getRe_update_val() {
        return re_update_val;
    }

    public void setRe_update_val(BigDecimal re_update_val) {
        this.re_update_val = re_update_val;
    }

    public Boolean getLawerPair() {
        return lawerPair;
    }

    public void setLawerPair(Boolean lawerPair) {
        this.lawerPair = lawerPair;
    }
}
